package com.sangmo.fts.process.receivable.interfaces;

import com.sangmo.boot.framework.plugin.dataview.def.meta.DataView;
import com.sangmo.fts.process.inventory.interfaces.TrainingIdRequest;
import com.sangmo.fts.process.receivable.model.RpfLoan;

import java.math.BigDecimal;
import java.util.Date;

@DataView(value = RpfLoan.class)
public class RpfLoanCreation extends TrainingIdRequest {

    private String applyCode;

    private Long applyId;

    private Long contractId;

    private BigDecimal receivableAmount;

    private BigDecimal amount;

    private Date startTime;

    private Date endTime;

    private String duration;

    public String getApplyCode() {
        return applyCode;
    }

    public void setApplyCode(String applyCode) {
        this.applyCode = applyCode;
    }

    public Long getApplyId() {
        return applyId;
    }

    public void setApplyId(Long applyId) {
        this.applyId = applyId;
    }

    public Long getContractId() {
        return contractId;
    }

    public void setContractId(Long contractId) {
        this.contractId = contractId;
    }

    public BigDecimal getReceivableAmount() {
        return receivableAmount;
    }

    public void setReceivableAmount(BigDecimal receivableAmount) {
        this.receivableAmount = receivableAmount;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getDuration() {
        return duration;
    }

    public void setDuration(String duration) {
        this.duration = duration;
    }
}

